package com.hsy.crm.web.mapper;

import com.hsy.crm.web.config.CrmMapper;
import com.hsy.crm.web.domain.entity.Vendor;
import com.hsy.crm.web.domain.po.vendor.VendorGetPo;
import com.hsy.crm.web.domain.po.vendor.VendorPagePo;
import com.hsy.crm.web.domain.vo.vendor.VendorPageVo;

import java.util.List;

public interface VendorMapper extends CrmMapper<Vendor> {

    List<VendorPagePo> page(VendorPageVo vendorPageVo);

    VendorGetPo getVendor(Vendor vendor);

    List<Long> getVendorIds(String customerId);

    int updateDebtMoney(Vendor vendor);

    Long checkOrder(Vendor vendor);

}
